SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74f86e35e3224dadccf53589618ec3a2de19fd41d546e7fae405fc4737152c50' 
  AND token = '3y3oMMh4kuvhNe8aAF2uTzZly79Ec5zNIi5jY6J3E1I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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