SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd40e489ae0967c7000d9cf87d1e6aed1443bdef242098d0250c05cb137e9e902' 
  AND token = 'p+qQ/FCZbUdF2OLB7tagcSCH5+ywyI1kuSAoUwz7xNU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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