SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9baf303a5e8b71a2c909934010e27a9300f2a674263f83ac68f0b0f751418b0' 
  AND token = 'fhdjyxch/g1UeKX2EnmUm5IJEogaHh207ZPaByEbagA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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