SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e5b0c9e7eb7f28078d64362e354b156625db1bc6c0ca8abfc4f71e10540f23b7' 
  AND token = 'UL1M/1k9Nx9TWEd2yveeE0MR9aYG/Jbrxz8V53fAws0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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