SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd79b675d1441c5f206c882a5bebd6d74a20f6bfb6291d71bd6cb60554c508948' 
  AND token = 'au/rWtThTBTxyndMvPozan6kf9suJ9873yBSAfvFSO8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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