SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '252af77208a34e93ee5511a3d8ba88d18f6a7db53b2e0644d50cadcda45febf5' 
  AND token = 'U3c8EkTGCjtv5yXHIM9iTcltp/3ScEpMOuGK4TmK4bY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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