SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9f07d577042602b34b770847c2688a2991281d21e4d8b76a3a4821a148f40ac' 
  AND token = 'kT2PNTytKqx4uu0qH1lYYLijUBQKegLfN2ZbarFmdQE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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