SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e51fc96ae7aec9f04bda4337e65eff6ed29920063040e6a86a41ef536241537d' 
  AND token = 'Yo8NQ/OKHyddE/49Ff0ubw/3FjZfxsMkc1V/e5aNkoo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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