SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1781288ec26831019a68cade595732a8fc92710effa479a502805698fcc9b120' 
  AND token = 'G6hSYdmSKG1rpaNOH+BUhJbkMGYw7mR04f1260i0Rp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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