SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2df24c94107f30843ae4b0be0246cfa2512af5968cf56ea2f94224703b97f68d' 
  AND token = 'cQECb7OjgIw24SQbJlmdBG0bkLjiw0nObzKJrFUTJOg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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