SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf4cb39e095dab696d2db73787c6ae5ceb46c27dd18222f4cabeb319fc158cf3' 
  AND token = 'XV37ifsAyX1ByNTmHMzW14bTUs0hSL59hEZiTB9hDkg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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