SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c5d5f2856c38c3ba4fafa9152e479ed4d0f1b0e71e35b8a188752230371ce79' 
  AND token = 'AxE2tXH5rj3A3tHJ/3XuLHDwNKSaZ8h2y8+hKsIGsgo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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