SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9eda3a711780a131d329a02be48a8afefbc05f37ceffe6a507091ced2550e0ac' 
  AND token = '7Fylqb8huqlgoF0ZnBWJa+UYJuMQzOTGQgK7c63hDXg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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