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

Query time 0.00040

JSON explain

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