SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1fb77b1180eba2a0552fe1826b0f109e63af33931945f9ea1e53b46773e81b62' 
  AND token = '4h7sf0SA9y/9fVVs/efz9nou2xMGEyDBLOQuwounfQs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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