SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ee5a4f57d564ff3d5de86276cdddf0018fbb744a86612cb221b512f1d1ee5b5f' 
  AND token = 'AbCDKXXwLnQdetjziYw/A1ewYso/gNDzqZ17lZqEJdU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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