SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0679b6ad23b29bebc3b477504425b93053cab4349e5c1a43436e0b5077238c4' 
  AND token = 'Nm5qAflxrRxdB43NWuIERPuhxKV9twfTVXfis8dp8Go=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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