SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de9288d360bf88be9d03f317d87e3a82c1d22b7032bad3dc847ffa06fd53ae4c' 
  AND token = 'p/4dSWGaKZp0yv7Fsak6T5NDNtux36cLXnS7Y/rdRT8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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