SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cca7efcc28ba89aa088c7b274152ad0f9476be934720adf79569f388b063fead' 
  AND token = 'AKjKG52eQX0mp4zpUd3sq5+xaRLKrz1aJPuweoicXTM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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