SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e5878369abbf1857489465ec9855c76daa11d498fbf2022f1f905f678e6a895' 
  AND token = 'X0EEaSl7qrD2xq5XLcqKvzy8SUuEDEyp76nI0ah/1dA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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