SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f42cea532b5402bcea2ca9bbf2a4391f1eb908fee45274c80ef68d46820799fc' 
  AND token = 'N4rSUC8+5bzqqeBRf8fe0v7bV4/gK6VJoI6nm3XJEis=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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