SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '65f2a47114c35c664085fc763fa99d6f64bdb031565887cbf6f02ba51e35b25b' 
  AND token = 'ODQpxSvI29x/5DMF2923yZPZC5uO6Y6QzYVH85vRarQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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