SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c245f89d551d7db85fd32318094bf47411bf926ad11db9a801750432da5b39a' 
  AND token = 'xRZkWlQ+GKenI1jIn4yeN/PRMCS/UCMCleooAZJRmEA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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