SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '871ac34174172a050341fc3ef8a5ec74dd566862abfb91c465b4f3362f86582b' 
  AND token = 'Tm1MnRZw2tpaVSZ26wFUPmHPuRuq0O6ATbUXx/o5lqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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