SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d8209d9e13c67b64be7747d45e98df010f1d7caad3105be3ab74fed41385ab2' 
  AND token = 'S2L7bzMd41oRzbSkx6T7r5DihF6Rs1nan36lbPSTOk0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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