SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c6aa66356d13748920718f3cb4b0860426030cdbc6f33a6d4daaaa133f5917c' 
  AND token = 'lk0RIjPxpg+3WlMYdXfj4+szTumGzSw/A/kBPyAIe58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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