SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50e4291fa6085b2b20a52889661f1b13e7774fc221a4359dd0ba9723b872a255' 
  AND token = 'OoiqkabQXpPdOEdtYlOvelM6Rq+LXqh3L1bG0cgao3c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}