SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba5d39d853ba63857cb96febbcebdb124dbefd042ffb0c12b35f4e78fb739329' 
  AND token = '2VrN+IIyiL7Esliz61NYQ9BxAE+9O+KYIlftLN0516k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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