SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f74b128313e5e723a06e83905cee06d116638d49884d18b271c7ae577962238f' 
  AND token = 'q9/2oaZP9eseivZIRmPHd0MQyQRt/SP7ium7oYACewo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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