SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fcd0f84a542784139924c073fc648e74d68a0123a71287fad230a82eaf7ce98e' 
  AND token = '8ixlX2Dn3ahoisNA9J+hD4Xehw7wrrKX2nB0S8hHHiQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}