SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45c2cc648f9dd71bdf4362c5e0e8bf1b8823785264cccd0d2f479263caa13a48' 
  AND token = 'k1oiZ1H1IyCyFrZ95S669BsVXwQUuIKCAvTdyuBiTIw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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