SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cccd263de5ea537e82d67d7d448949c9a1149ef3e17516d53d487a763791227' 
  AND token = 'm1OAJ/A7/qYmevBZMchUyWbsEjOxt6ZPFJ0T846GI+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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