SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ae35af679f335121385f2c17fa2dbfd3749077735bf7c6b951a69b4acf814a5' 
  AND token = 'nHmUr/F9sEtVpQ2J2x3TOWaqp6Iu7+ja1Idc6zqrpLM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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