SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8ffc4c9c7b496a9523c65b9329cd6f5560799678055ae2063c094d41c40220b' 
  AND token = 'Z1nicklzyrOKviwZMqMS7BHGm+Pm708scc9r7fpEB4U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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