SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afc25e8e436685f019c3950131c9a4750e6305aa15090df66ff8cc4d92408d81' 
  AND token = 'pZHhpdb2yHLcbDfNmTlvRMonZLofw+aGb0Lt1ONjPJw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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